package com.novax.ex.activity.open.model.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Description 排名赛子活动配置
 * @Author ChenXi
 * @Date 2023/11/23/15:46
 */
 

@Data
public class RankSubConfigResponse {

    @Schema(description = "id")
    private Long id;

    /**
    * 类型, 1=交易量排名赛配置, 2=盈利率排名赛配置, 3=盈利额排名赛配置
    */
    @Schema(description = "类型, 1=交易量排名赛配置, 2=盈利率排名赛配置, 3=盈利额排名赛配置")
    private Integer type;

    /**
    * 子活动名
    */
    @Schema(description = "子活动名")
    private String name;

    /**
    * type=1时->当前参赛人数, type=2 or type=3时->奖池
    */
    @Schema(description = "type=1时->当前参赛人数, type=2 or type=3时->奖池")
    private Integer number;
}